##
## Makefile for Makefile in /home/chassa_m/rendu/Piscine-C-lib/my
## 
## Made by chassa_m
## Login   <chassa_m@epitech.net>
## 
## Started on  Mon Oct 21 07:18:16 2013 chassa_m
## Last update Thu Nov 28 22:13:06 2013 chassa_m
##

CREATE	= ar rc

RM	= rm -rf

SRCS	= my_find_prime_sup.c \
	  my_getnbr.c \
	  my_isneg.c \
	  my_is_prime.c \
	  my_power_rec.c \
	  my_putchar.c \
	  my_put_nbr.c \
	  my_putstr.c \
	  my_revstr.c \
	  my_showmem.c \
	  my_showstr.c \
	  my_sort_int_tab.c \
	  my_square_root.c \
	  my_strcapitalize.c \
	  my_strcat.c \
	  my_strcmp.c \
	  my_strcpy.c \
	  my_str_isalpha.c \
	  my_str_islower.c \
	  my_str_isnum.c \
	  my_str_isprintable.c \
	  my_str_isupper.c \
	  my_strlcat.c \
	  my_strlen.c \
	  my_strlowcase.c \
	  my_strncat.c \
	  my_strncmp.c \
	  my_strncpy.c \
	  my_strstr.c \
	  my_strupcase.c \
	  my_swap.c \
	  my_putnbr_base.c \
	  my_printf.c \
	  flags_base.c \
	  flags_char.c \
	  flags_int.c

RAN	= ranlib

EXT	= $(SRCS:.c=.o)

NAME	= libmy.a

MY	= my.h

CP	= cp

all: $(NAME)

$(NAME): $(EXT)
	$(CREATE) $(NAME) $(EXT)
	$(RAN) $(NAME)
	$(CP) $(NAME) ../
	$(CP) $(MY) ../../Piscine-C-include/

clean:
	@$(RM) $(EXT)

fclean: clean
	@$(RM) $(NAME)

re: fclean all

.PHONY: all clean fclean re
